Component({
  properties: {
    categories: {
      type: Array,
      value: []
    }
  },
  methods: {
    onCategoryTap(e) {
      this.triggerEvent('categorytap', { id: e.currentTarget.dataset.id })
    }
  }
})
